From: Florian Müllner Date: Fri, 12 Jul 2013 14:47:57 +0000 (+0200) Subject: notificationDaemon: Fix clicks on legacy icons X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3877 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=13170fbb3cdf243b63a3f8fdb385bbeeb9e311e4;p=gnome-shell.git notificationDaemon: Fix clicks on legacy icons Jasper removed the ShellGlobal:stage-input-mode property after its "last" use was removed. Adapt the (hopefully) really last use of the property to the recent input changes. https://bugzilla.gnome.org/show_bug.cgi?id=704095 --- diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js index dec74064d..1a49827a0 100644 --- a/js/ui/notificationDaemon.js +++ b/js/ui/notificationDaemon.js @@ -717,8 +717,8 @@ const Source = new Lang.Class({ this.notifications.length > 0) return false; - let id = global.connect('notify::stage-input-mode', Lang.bind(this, function () { - global.disconnect(id); + let id = global.stage.connect('deactivate', Lang.bind(this, function () { + global.stage.disconnect(id); this.trayIcon.click(event); }));